package com.example.service;

import com.example.vo.ResultVo;
import com.example.vo.reqvo.UserLoginParams;
import com.example.vo.respvo.EmpBasicInfoVo;

import javax.servlet.http.HttpServletRequest;

/**
 * 登录服务类
 *
 * @author wsl
 */
public interface LoginService {

    ResultVo login(UserLoginParams userLoginParams, HttpServletRequest request);

    /**
     * 获取登录用户的个人资料
     * @param request
     * @return
     */
    EmpBasicInfoVo getLoginUserInfo(HttpServletRequest request);
}
